package com.amithkoujalgi.myapp.core;

public class AppConstants {
	public static final String CLIENT_ID = "XXXXXXXXXXXX";
	public static final String CLIENT_SECRET = "XXXXXXXXXXXX";

	public static final String REDIRECT_URI = "http://localhost";
	public static final String GRANT_TYPE = "authorization_code";
	public static final String TOKEN_URL = "https://accounts.google.com/o/oauth2/token";

	public static class GoogleURL {
		public static final String OAUTH_BROWSER_LOGIN_URL = "https://accounts.google.com/o/oauth2/auth";
		public static final String OAUTH_BROWSER_LOGOUT_URL = "https://mail.google.com/mail/u/0/?logout&hl=en";
	}

	public static class OAuthScope {
		public static final String CALENDAR_READ_WRITE = "https://www.googleapis.com/auth/calendar";
		public static final String VIEW_USER_EMAIL = "https://www.googleapis.com/auth/userinfo.email";
		public static final String VIEW_USER_PROFILE = "https://www.googleapis.com/auth/userinfo.profile";
	}
}
